package com.sdp.right.db.sys_flow_task_his.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sdp.right.entity.SysFlowTaskHis;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zsp
 * @since 2024-07-18
 */
public interface ISysFlowTaskHisService extends IService<SysFlowTaskHis> {
	
	void clearFlowTaskHisVersion(String version, String templateNo);
	
	void removeApprovalTaskHis(String instanceId,String nodeId);
	
	List<SysFlowTaskHis> queryApprovalFlowTaskHis(String instanceId,String nodeId,String approvalState);
	
	List<SysFlowTaskHis> queryLastApprovalFlowTaskHis(String instanceId,String nodeId);
	
	List<SysFlowTaskHis> queryapprovedFlowTaskHis(String instanceId);
	
	void removeFlowTaskHisByInstanceId(String instanceId);
}
